package com.hnust.service;

import com.hnust.domain.*;
import com.hnust.domain.Class;
import com.hnust.domain.record.*;

import java.util.List;
import java.util.Map;

public interface StudentService {
    List<MajorRecord> getMajor(String collegeId);

    //登陆
    String login(String account, String password);

    //注册
    String register (String account,String alias,String mail,String password,String phoneNumber);

    //获取学生信息
    StudentUpCaseRecord getStudent(String studentId, String token);

    //修改密码
    String changePassword(String studentID, String newPassword, String password, String token);

    //修改个人信息
    String modifyStudentById(String studentId, StudentLowerCaseRecord studentInfo, String token);

    //查询学院列表
    List<College> getCollege ();

    //查询专业班级
    List<Class> getClassList(String majorId);

    //删除做题记录
    String deleteQuestionRecord(String token,List<String> recordIDList);

    //查询题目详细信息
    NewQuestionRecordRecord getQuestion(String questionID);

    //查询做题信息列表
    Map<String,Object> getRecordsList(String studentID, Integer recordType, Integer offset, Integer limit, String token);
}
